class OrderExamination < ActiveRecord::Base
  belongs_to :examination_type
  belongs_to :patient_data

  def first_and_last_name
    "#{PatientData.find(patient_data_id).first_name} #{PatientData.find(patient_data_id).laste_name}"
  end

  def examination_type_name
    "#{ExaminationType.find(examination_type_id).name}"
  end

  def examination_type_description
    "#{ExaminationType.find(examination_type_id).description}"
  end


end
